home *** CD-ROM | disk | FTP | other *** search
- From: Stephen Usher <Stephen.Usher@earth.ox.ac.uk>
- Subject: Re: Standardized paths
- Date: Tue, 11 Jan 1994 14:41:08 +0000 (GMT)
- In-Reply-To: <9401111334.AA06670@math.uni-muenster.de> from "Julian Reschke" at Jan 11, 94 02:33:59 pm
- Mime-Version: 1.0
-
- >Speaking of standardizing paths: is there a convention how to locate
- >files that are supposed to live in /etc (like /etc/magic)?
- >
- >Currently, I try u:\etc and $ETCDIR...
-
- The method I would use would be..
-
- If current directory is under U:
- check \etc
- if not there then check $ETCDIR
- else
- check $ETCDIR
- if not there then check U:\
-
- Then again.. I usually just check "/etc" and if it's not there then I assume
- that the person is not running in a mode conjusive to being Unix-like and
- bomb out with an error.
-
- >--
- >---------------------------------------------------
- >Julian F. Reschke, Hensenstr. 142, D-48161 Muenster
- > eMail: reschke@math.uni-muenster.de jr@ms.maus.de
- >___________________________________________________
- >
-
- Steve
-
- --
- ---------------------------------------------------------------------------
- Computer Systems Administrator, Dept. of Earth Sciences, Oxford University.
- E-Mail: steve@uk.ac.ox.earth (JANET) steve@earth.ox.ac.uk (Internet).
- Tel:- Oxford (0865) 282110 (UK) or +44 865 282110 (International).
-